﻿using System;

namespace BCEntity.Common.News.NewsContentComment
{
    /// <summary>
    /// 新闻内容评论
    /// </summary>
    public class NewsContentCommentEntity
    {
        /// <summary>
        /// 新闻内容评论Id
        /// </summary>
        public long NewsContentCommentId { get; set; }
        /// <summary>
        /// 新闻内容Id
        /// </summary>
        public long NewsContentId { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string Comment { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 父级评论Id
        /// </summary>
        public long? ParentCommentId { get; set; }
        /// <summary>
        /// 匿名回复
        /// </summary>
        public bool IsAnonymous { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户图像
        /// </summary>
        public string UserAvatar { get; set; }
        /// <summary>
        /// 树形码
        /// </summary>
        public string TreeCode { get; set; }
        /// <summary>
        /// 评论点赞数
        /// </summary>
        public int LikeCount { get; set; }
        /// <summary>
        /// 被评论回复次数
        /// </summary>
        public int ChildrenCommentCount { get; set; }
        /// <summary>
        /// 新闻标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 已删除
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 父级点赞数
        /// </summary>
        public int ParentLikeCount { get; set; }
        /// <summary>
        /// 父级评论内容
        /// </summary>
        public string ParentComment { get; set; }
        /// <summary>
        /// 父级用户名
        /// </summary>
        public string ParentUserName { get; set; }
        /// <summary>
		/// 已启用
        /// </summary>		
        public bool Enabled { get; set; }
    }
}
